package com.linkgie.galaxyframework.kvstorage;

public interface DataCodec<T> {
	
	byte[] encode(T value) throws DataCodecException;
	
	T decode(byte[] bytes) throws DataCodecException;
	
}
